<#--
/****************************************************
 * Description: 系统日志的简单列表页面，没有编辑功能
 * Copyright:   Copyright (c) 2013
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2013-07-17 bfsu Create File
**************************************************/
-->
<#include "/templates/back/list.ftl"> 
<@list url='${base}/components/log/list' >
<table>
    <thead>
        <tr>
            <th>内容</th>
            <th>类型</th>
            <th>级别</th>
            <th>服务器名</th>
            <th>服务器IP</th>
            <th>用户名</th>
            <th>记录时间</th>
            <th>登录IP</th>
            <th>UserAgent</th>
        </tr>
    </thead>
    <tbody>
        <#list page.items?if_exists as item>
        <tr>
            <td>
                ${item.content}
            </td>
            <td>
                ${item.type}
            </td>
            <td>
                ${item.level}
            </td>
            <td>
                ${item.serverName}
            </td>
            <td>
                ${item.serverIp}
            </td>
            <td>
                ${item.userName}
            </td>
            <td>
                ${item.createDate?string('yyyy-MM-dd HH:mm:ss')}
            </td>
            <td>
                ${item.loginIp}
            </td>
            <td>
                ${item.userAgent}
            </td>
        </tr>
        </#list>
    </tbody>
</table>
</@list>